package com.sunnay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sunnay.annotation.SunayField;
import lombok.Data;

import java.util.Date;

@Data
@TableName("app_user_info")
public class AppUserInfoEntity implements java.io.Serializable {

    @TableId(value = "id",type = IdType.INPUT)
    @TableField("id")
    private String id;

    @TableField("user_name")
    private String userName;

    @TableField("user_pass")
    private String userPass;

    @SunayField(comment = "微信用户ID")
    @TableField("wechat_user_id")
    private String wechatUserId;

    @SunayField(comment = "推荐人ID")
    @TableField("recommend_id")
    private String recommendId;

    @SunayField(comment = "邀请码")
    @TableField("invite_code")
    private String inviteCode;

    @TableField("create_time")
    private Date createTime;

    @SunayField(comment = "用户类型")
    @TableField("user_Type")
    private Integer userType;
}
